package com.jinyijia.api.rest.v1.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author WX
 * @date 2018/8/21
 **/
@Data
@NoArgsConstructor
public class OrderItemDTO {
    private Integer count;
    private Integer goodsId;
    private Integer amount;
    private GoodsInfoDTO goodsInfo;

    public OrderItemDTO(Integer count, Integer goodsId) {
        this.count = count;
        this.goodsId = goodsId;
    }
}
